from langserve import RemoteRunnable

if __name__ == '__main__':
    client = RemoteRunnable("http://localhost:8000/chat")

    response = client.invoke({"language": "English", "content": "中国的首都是哪里？"})
    print(response)